package com.stock.dao;

import java.math.BigDecimal;
import java.util.Date;

/**
 * AbstractStockdaydeal entity provides the base persistence definition of the
 * Stockdaydeal entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractStockdaydeal implements java.io.Serializable {

	// Fields

	private String id;
	private String number;
	private BigDecimal predayprice;
	private BigDecimal price;
	private BigDecimal beginPrice;
	private BigDecimal maxPrice;
	private BigDecimal minPrice;
	private BigDecimal curBuyPrice;
	private BigDecimal amount;
	private Integer qty;
	private Date dealDay;
	private BigDecimal ratepercent;
	private BigDecimal amountBat;
	private Stockanlyz stockanlyz;
	
	public Stockanlyz getStockanlyz() {
		return stockanlyz;
	}

	public void setStockanlyz(Stockanlyz stockanlyz) {
		this.stockanlyz = stockanlyz;
	}

	/** default constructor */
	public AbstractStockdaydeal() {
	}

	/** minimal constructor */
	public AbstractStockdaydeal(String id, String number) {
		this.id = id;
		this.number = number;
	}

	/** full constructor */
	public AbstractStockdaydeal(String id, String number, BigDecimal predayprice,
			BigDecimal price, BigDecimal beginPrice, BigDecimal maxPrice, BigDecimal minPrice,
			BigDecimal curBuyPrice, BigDecimal amount, Integer qty, Date dealDay,
			BigDecimal ratepercent, BigDecimal amountBat) {
		this.id = id;
		this.number = number;
		this.predayprice = predayprice;
		this.price = price;
		this.beginPrice = beginPrice;
		this.maxPrice = maxPrice;
		this.minPrice = minPrice;
		this.curBuyPrice = curBuyPrice;
		this.amount = amount;
		this.qty = qty;
		this.dealDay = dealDay;
		this.ratepercent = ratepercent;
		this.amountBat = amountBat;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public BigDecimal getPredayprice() {
		return this.predayprice;
	}

	public void setPredayprice(BigDecimal predayprice) {
		this.predayprice = predayprice;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getBeginPrice() {
		return this.beginPrice;
	}

	public void setBeginPrice(BigDecimal beginPrice) {
		this.beginPrice = beginPrice;
	}

	public BigDecimal getMaxPrice() {
		return this.maxPrice;
	}

	public void setMaxPrice(BigDecimal maxPrice) {
		this.maxPrice = maxPrice;
	}

	public BigDecimal getMinPrice() {
		return this.minPrice;
	}

	public void setMinPrice(BigDecimal minPrice) {
		this.minPrice = minPrice;
	}

	public BigDecimal getCurBuyPrice() {
		return this.curBuyPrice;
	}

	public void setCurBuyPrice(BigDecimal curBuyPrice) {
		this.curBuyPrice = curBuyPrice;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getQty() {
		return this.qty;
	}

	public void setQty(Integer qty) {
		this.qty = qty;
	}

	public Date getDealDay() {
		return this.dealDay;
	}

	public void setDealDay(Date dealDay) {
		this.dealDay = dealDay;
	}

	public BigDecimal getRatepercent() {
		return this.ratepercent;
	}

	public void setRatepercent(BigDecimal ratepercent) {
		this.ratepercent = ratepercent;
	}

	public BigDecimal getAmountBat() {
		return this.amountBat;
	}

	public void setAmountBat(BigDecimal amountBat) {
		this.amountBat = amountBat;
	}

	
}